
<%@ page import="fleet_management.MonthlyReport" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'monthlyReport.label', default: 'MonthlyReport')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-monthlyReport" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-monthlyReport" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list monthlyReport">
			
				<g:if test="${monthlyReportInstance?.vehicleName}">
				<li class="fieldcontain">
					<span id="vehicleName-label" class="property-label"><g:message code="monthlyReport.vehicleName.label" default="Vehicle Name" /></span>
					
						<span class="property-value" aria-labelledby="vehicleName-label"><g:fieldValue bean="${monthlyReportInstance}" field="vehicleName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.vehicleNumber}">
				<li class="fieldcontain">
					<span id="vehicleNumber-label" class="property-label"><g:message code="monthlyReport.vehicleNumber.label" default="Vehicle Number" /></span>
					
						<span class="property-value" aria-labelledby="vehicleNumber-label"><g:fieldValue bean="${monthlyReportInstance}" field="vehicleNumber"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.fuelType}">
				<li class="fieldcontain">
					<span id="fuelType-label" class="property-label"><g:message code="monthlyReport.fuelType.label" default="Fuel Type" /></span>
					
						<span class="property-value" aria-labelledby="fuelType-label"><g:fieldValue bean="${monthlyReportInstance}" field="fuelType"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.servicingDate}">
				<li class="fieldcontain">
					<span id="servicingDate-label" class="property-label"><g:message code="monthlyReport.servicingDate.label" default="Servicing Date" /></span>
					
						<span class="property-value" aria-labelledby="servicingDate-label"><g:formatDate date="${monthlyReportInstance?.servicingDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.servicingCost}">
				<li class="fieldcontain">
					<span id="servicingCost-label" class="property-label"><g:message code="monthlyReport.servicingCost.label" default="Servicing Cost" /></span>
					
						<span class="property-value" aria-labelledby="servicingCost-label"><g:fieldValue bean="${monthlyReportInstance}" field="servicingCost"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.maintenanceDate}">
				<li class="fieldcontain">
					<span id="maintenanceDate-label" class="property-label"><g:message code="monthlyReport.maintenanceDate.label" default="Maintenance Date" /></span>
					
						<span class="property-value" aria-labelledby="maintenanceDate-label"><g:fieldValue bean="${monthlyReportInstance}" field="maintenanceDate"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.typeOfMaintenance}">
				<li class="fieldcontain">
					<span id="typeOfMaintenance-label" class="property-label"><g:message code="monthlyReport.typeOfMaintenance.label" default="Type Of Maintenance" /></span>
					
						<span class="property-value" aria-labelledby="typeOfMaintenance-label"><g:fieldValue bean="${monthlyReportInstance}" field="typeOfMaintenance"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.maintenanceCost}">
				<li class="fieldcontain">
					<span id="maintenanceCost-label" class="property-label"><g:message code="monthlyReport.maintenanceCost.label" default="Maintenance Cost" /></span>
					
						<span class="property-value" aria-labelledby="maintenanceCost-label"><g:fieldValue bean="${monthlyReportInstance}" field="maintenanceCost"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.fuelConsumption}">
				<li class="fieldcontain">
					<span id="fuelConsumption-label" class="property-label"><g:message code="monthlyReport.fuelConsumption.label" default="Fuel Consumption" /></span>
					
						<span class="property-value" aria-labelledby="fuelConsumption-label"><g:fieldValue bean="${monthlyReportInstance}" field="fuelConsumption"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.totalFuelCost}">
				<li class="fieldcontain">
					<span id="totalFuelCost-label" class="property-label"><g:message code="monthlyReport.totalFuelCost.label" default="Total Fuel Cost" /></span>
					
						<span class="property-value" aria-labelledby="totalFuelCost-label"><g:fieldValue bean="${monthlyReportInstance}" field="totalFuelCost"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.rateOfPrivateUseKm}">
				<li class="fieldcontain">
					<span id="rateOfPrivateUseKm-label" class="property-label"><g:message code="monthlyReport.rateOfPrivateUseKm.label" default="Rate Of Private Use Km" /></span>
					
						<span class="property-value" aria-labelledby="rateOfPrivateUseKm-label"><g:fieldValue bean="${monthlyReportInstance}" field="rateOfPrivateUseKm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.totalIncomeFromPrivateUse}">
				<li class="fieldcontain">
					<span id="totalIncomeFromPrivateUse-label" class="property-label"><g:message code="monthlyReport.totalIncomeFromPrivateUse.label" default="Total Income From Private Use" /></span>
					
						<span class="property-value" aria-labelledby="totalIncomeFromPrivateUse-label"><g:fieldValue bean="${monthlyReportInstance}" field="totalIncomeFromPrivateUse"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.totalKmCovered}">
				<li class="fieldcontain">
					<span id="totalKmCovered-label" class="property-label"><g:message code="monthlyReport.totalKmCovered.label" default="Total Km Covered" /></span>
					
						<span class="property-value" aria-labelledby="totalKmCovered-label"><g:fieldValue bean="${monthlyReportInstance}" field="totalKmCovered"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.costPerKm}">
				<li class="fieldcontain">
					<span id="costPerKm-label" class="property-label"><g:message code="monthlyReport.costPerKm.label" default="Cost Per Km" /></span>
					
						<span class="property-value" aria-labelledby="costPerKm-label"><g:fieldValue bean="${monthlyReportInstance}" field="costPerKm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.averageKmPerLiter}">
				<li class="fieldcontain">
					<span id="averageKmPerLiter-label" class="property-label"><g:message code="monthlyReport.averageKmPerLiter.label" default="Average Km Per Liter" /></span>
					
						<span class="property-value" aria-labelledby="averageKmPerLiter-label"><g:fieldValue bean="${monthlyReportInstance}" field="averageKmPerLiter"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.totalOperatingCost}">
				<li class="fieldcontain">
					<span id="totalOperatingCost-label" class="property-label"><g:message code="monthlyReport.totalOperatingCost.label" default="Total Operating Cost" /></span>
					
						<span class="property-value" aria-labelledby="totalOperatingCost-label"><g:fieldValue bean="${monthlyReportInstance}" field="totalOperatingCost"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.startdate}">
				<li class="fieldcontain">
					<span id="startdate-label" class="property-label"><g:message code="monthlyReport.startdate.label" default="Startdate" /></span>
					
						<span class="property-value" aria-labelledby="startdate-label"><g:formatDate date="${monthlyReportInstance?.startdate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${monthlyReportInstance?.endDate}">
				<li class="fieldcontain">
					<span id="endDate-label" class="property-label"><g:message code="monthlyReport.endDate.label" default="End Date" /></span>
					
						<span class="property-value" aria-labelledby="endDate-label"><g:formatDate date="${monthlyReportInstance?.endDate}" /></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${monthlyReportInstance?.id}" />
					<g:link class="edit" action="edit" id="${monthlyReportInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
